import HttpUtil from '../utils/httpUtil.js'

export default {

    getHotClasses(callback) {
        HttpUtil.get({
            uri: '/api/getHotClasses', success: (data) => {
                callback(data);
            }
        });
    },
    getHotCourses(callback) {
        HttpUtil.get({
            uri: '/api/getHotCourses', success: (data) => {
                callback(data);
            }
        });
    },
    forward(){
        HttpUtil.forward();
    }
}

